<template>
  <div class="container">
    <h1>倒计时</h1>
    <count-down  t="300" @end="end"></count-down>
  </div>
</template>
<script>
import countDown from '../components/count-down/index'
export default {
  components:{
    'count-down': countDown
  },
  methods:{
      end(){
          alert('end');
      }
  }
}
</script>

